package com.aica.vo.request;

import com.aica.constant.FormatConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * @author by
 * @date 2021/7/29 10:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChangePasswordByOldVo {

    @NotEmpty
    //@Pattern(regexp = FormatConstant.PASSWORD)
    private String oldPassword;

    @NotEmpty
    //@Pattern(regexp = FormatConstant.PASSWORD)
    private String newPassword;

}
